package com.ruoyi.production.domain.pesticide;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农药名称对象 pesticide_name
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class PesticideName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long pesticideNameId;

    /** 农药名称 */
    @Excel(name = "农药名称")
    private String pesticideName;

    public void setPesticideNameId(Long pesticideNameId)
    {
        this.pesticideNameId = pesticideNameId;
    }

    public Long getPesticideNameId()
    {
        return pesticideNameId;
    }
    public void setPesticideName(String pesticideName)
    {
        this.pesticideName = pesticideName;
    }

    public String getPesticideName()
    {
        return pesticideName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pesticideNameId", getPesticideNameId())
            .append("pesticideName", getPesticideName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
